<template>
  <v-overlay
    class="flex-cc"
    v-model="visible"
    scroll-strategy="none"
    persistent
  >
    <v-progress-circular
      :size="64"
      color="primary"
      indeterminate
    ></v-progress-circular>
  </v-overlay>
</template>

<script setup lang="ts">
import { useVModel } from '@/hooks/useVModel';

const props=defineProps<{
  modelValue:boolean;
}>()
const emit=defineEmits<{
  (e: 'update:modelValue'): void;
}>()

const visible=useVModel(props,'modelValue',emit);
</script>

<style scoped>

</style>